#include <windows.h>
#include "DllClass.h"


CDllClass::CDllClass(void)
{

}

CDllClass::~CDllClass(void)
{
}

void CDllClass::SetData(int nLeft, int nRight)
{
	m_nLeft = nLeft;
	m_nRight = nRight;
}

int CDllClass::Add()
{
	return (m_nLeft + m_nRight);
}
int CDllClass::Sub()
{
	return (m_nLeft - m_nRight);
}

int CDllClass::Min()
{
	return min(m_nLeft, m_nRight);
}

int CDllClass::Max()
{
	return max(m_nLeft, m_nRight);
}